Skip to content

ci: run the Postgres suites against pgrust - #314

Draft
roxblnfk wants to merge 1 commit into
2.xfrom
ci/pgrust
Draft

roxblnfk wants to merge 1 commit into
2.xfrom
ci/pgrust

Conversation

@roxblnfk

Copy link
Copy Markdown
Member

🔍 What was changed

  • New pgrust workflow: starts malisper/pgrust:v0.4-beta through composer db:up (overriding DB_POSTGRES_IMAGE) and runs composer test:postgres with the existing Postgres driver.
  • Separate from build because the shared cycle/gh-actions Testo workflow has no input to swap the database image.

Checklist

  • Closes Try pgrust #312
  • How was this tested:
    • CI run on this PR (Docker wasn't available locally, so whether the image ships pg_isready for the compose healthcheck is also checked here)

pgrust claims wire and SQL compatibility with Postgres 18, so the existing Postgres driver and suites run against its drop-in Docker image as is. The shared Testo workflow cannot swap the image, hence a separate workflow.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
@psalm-shepherd

Copy link
Copy Markdown

Psalm found errors in other files

src/Driver/Postgres/Injection/CompileJsonContainsKey.php:25:14 - filter_var is part of the ext-filter extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Driver/Postgres/Injection/PostgresJsonExpression.php:68:16 - filter_var is part of the ext-filter extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Driver/Postgres/Injection/PostgresJsonExpression.php:89:29 - filter_var is part of the ext-filter extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Schema/AbstractColumn.php:786:53 - Argument 1 of DateTimeImmutable::setTimestamp expects int, but possibly different type int|numeric-string provided
src/Driver/Postgres/Schema/PostgresTable.php:0:0 - Baseline for issue "LessSpecificImplementedReturnType" has 1 extra entry.
src/Schema/AbstractColumn.php:0:0 - Baseline for issue "InvalidArgument" has 1 extra entry.

@codecov

codecov Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.59%. Comparing base (9b1699d) to head (9af0052).

Additional details and impacted files
@@            Coverage Diff             @@
##              2.x     #314      +/-   ##
==========================================
+ Coverage   94.56%   98.59%   +4.02%     
==========================================
  Files         143      143              
  Lines        5260     5045     -215     
==========================================
  Hits         4974     4974              
+ Misses        286       71     -215     
Flag Coverage Δ
mysql 55.25% <ø> (+2.72%) ⬆️
postgres 61.99% <ø> (+2.56%) ⬆️
sqlite 53.24% <ø> (+2.78%) ⬆️
sqlserver 55.36% <ø> (+1.74%) ⬆️
unit 56.89% <ø> (+0.82%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@roxblnfk roxblnfk mentioned this pull request Nov 25, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Try pgrust

2 participants